function WL_GetAlbumArt(artist, album){
	var szCacheFile = MsgPlus.ScriptFilesPath + "\\cache\\" + album;
	if(new ActiveXObject("Scripting.FileSystemObject").FileExists(szCacheFile))
		Messenger.MyDisplayPicture = szCacheFile + ".jpg";
		else {
		var xh = new ActiveXObject("Microsoft.XMLHTTP");
		xh.open("GET", "http://webservices.amazon.com/onca/xml?Service=AWSECommerceService&AWSAccessKeyId=1EYH092NR29ME283NPG2&Operation=ItemSearch&SearchIndex=Music&ResponseGroup=Small,Images&Keywords=" + escape(artist + " " + album), true);
		xh.onreadystatechange = function(){
			if(xh.readyState == 4){
				var xml = xh.responseXML;
				if(xml.selectNodes("//Items/TotalResults")[0].text > 0)
					MsgPlus.DownloadFile(xml.selectNodes("//Item/MediumImage/URL")[0].text, szCacheFile + ".jpg");
				}
			}
		xh.send();
		}
	}

function OnEvent_DownloadFileComplete(Url, OutFile, Success){
	if(Success && /jpg/.test(OutFile))
		Messenger.MyDisplayPicture = OutFile;
	}